package com.tl.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 用户流水对象 app_account_log
 * 
 * @author suhp
 * @date 2024-07-07
 */
public class AppAccountLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 金额 */
    @Excel(name = "金额")
    private String price;

    /** 类型(tx:提现,sy:收入) */
    @Excel(name = "类型(tx:提现,sy:收入)")
    private String type;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 类别(pt:平台,gr:个人) */
    @Excel(name = "类别(pt:平台,gr:个人)")
    private String lb;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setLb(String lb) 
    {
        this.lb = lb;
    }

    public String getLb() 
    {
        return lb;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("price", getPrice())
            .append("type", getType())
            .append("orderId", getOrderId())
            .append("createBy", getCreateBy())
            .append("lb", getLb())
            .append("createTime", getCreateTime())
            .toString();
    }
}
